<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	template="/template/main.xhtml">

	<ui:define name="body">
		<h:form>
			<p:growl id="mensagens"/>
			<h:panelGroup id="panelDados">
				<p:fieldset legend="Dados da solicitação de serviço">
					<h:panelGrid columns="2">
						<h:outputLabel value="Descricao Servico:" for="descricaoServico"/>
						<h:outputText id="descricaoServico" value="#{manterSolicitacaoServicoMB.solicitacaoServico.descricaoServico}" />
					</h:panelGrid>
				</p:fieldset>
				<p:fieldset legend="Informações complementares para o atendimento">
					<h:outputLabel value="Observação" for="observacao"/>
					<p:inputTextarea id="observacao" value="#{manterSolicitacaoServicoMB.observacaoSolicitacaoServico}"/>
				</p:fieldset>	
			</h:panelGroup>
			<p:spacer/>		
			<p:commandButton action="#{manterSolicitacaoServicoMB.atenderSolicitacaoServico()}" value="Finalizar Atendimento" update="mensagens,panelDados" ajax="false"/>
		</h:form>
	</ui:define>
</ui:composition>